package com.ruoyi.purchase.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * classification对象 classification
 *
 * @author ruoyi
 * @date 2025-08-24
 */
public class Classification extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @Excel(name = "id")
    private Long id;

    /** warehouse_name */
    @Excel(name = "warehouse_name")
    private String warehouseName;

    /** batch_number */
    private String batchNumber;

    /** Tracking */
    @Excel(name = "Tracking")
    private String trackingNumber;

    /** upc */
    @Excel(name = "upc")
    private String upc;

    /** quantity */
    @Excel(name = "quantity")
    private Long quantity;

    /** user_id */
    private Long userId;

    /** user_name */
    @Excel(name = "user_name")
    private String userName;

    /** warehouse_id */
    private Long warehouseId;

    /** product_name */
    private String productName;

    /** status */
    private String status;

    /** note */
    private String note;

    /** exception */
    private String exception;

    /** creation_time */
    private Date creationTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setWarehouseName(String warehouseName)
    {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseName()
    {
        return warehouseName;
    }

    public void setBatchNumber(String batchNumber)
    {
        this.batchNumber = batchNumber;
    }

    public String getBatchNumber()
    {
        return batchNumber;
    }

    public void setTrackingNumber(String trackingNumber)
    {
        this.trackingNumber = trackingNumber;
    }

    public String getTrackingNumber()
    {
        return trackingNumber;
    }

    public void setUpc(String upc)
    {
        this.upc = upc;
    }

    public String getUpc()
    {
        return upc;
    }

    public void setQuantity(Long quantity)
    {
        this.quantity = quantity;
    }

    public Long getQuantity()
    {
        return quantity;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }

    public void setWarehouseId(Long warehouseId)
    {
        this.warehouseId = warehouseId;
    }

    public Long getWarehouseId()
    {
        return warehouseId;
    }

    public void setProductName(String productName)
    {
        this.productName = productName;
    }

    public String getProductName()
    {
        return productName;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    public void setNote(String note)
    {
        this.note = note;
    }

    public String getNote()
    {
        return note;
    }

    public void setException(String exception)
    {
        this.exception = exception;
    }

    public String getException()
    {
        return exception;
    }

    public void setCreationTime(Date creationTime)
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime()
    {
        return creationTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("warehouseName", getWarehouseName())
                .append("batchNumber", getBatchNumber())
                .append("trackingNumber", getTrackingNumber())
                .append("upc", getUpc())
                .append("quantity", getQuantity())
                .append("userId", getUserId())
                .append("userName", getUserName())
                .append("warehouseId", getWarehouseId())
                .append("productName", getProductName())
                .append("status", getStatus())
                .append("note", getNote())
                .append("exception", getException())
                .append("creationTime", getCreationTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
